# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file './dialogs/maindialog.ui'
#
# Created: Sat Mar 31 00:04:06 2012
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainDialog(object):
    def setupUi(self, MainDialog):
        MainDialog.setObjectName(_fromUtf8("MainDialog"))
        MainDialog.resize(548, 599)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/uspc_icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainDialog.setWindowIcon(icon)
        MainDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.centralwidget = QtGui.QWidget(MainDialog)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_3 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.filesTreeView = myQTreeWidget(self.centralwidget)
        self.filesTreeView.setObjectName(_fromUtf8("filesTreeView"))
        self.gridLayout_3.addWidget(self.filesTreeView, 0, 0, 1, 1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.distributionComboBox = QtGui.QComboBox(self.centralwidget)
        self.distributionComboBox.setObjectName(_fromUtf8("distributionComboBox"))
        self.gridLayout.addWidget(self.distributionComboBox, 0, 1, 1, 2)
        self.ubuntuVersionLabel = QtGui.QLabel(self.centralwidget)
        self.ubuntuVersionLabel.setObjectName(_fromUtf8("ubuntuVersionLabel"))
        self.gridLayout.addWidget(self.ubuntuVersionLabel, 0, 3, 1, 1)
        self.releaseComboBox = QtGui.QComboBox(self.centralwidget)
        self.releaseComboBox.setObjectName(_fromUtf8("releaseComboBox"))
        self.gridLayout.addWidget(self.releaseComboBox, 0, 4, 1, 2)
        self.archLabel = QtGui.QLabel(self.centralwidget)
        self.archLabel.setObjectName(_fromUtf8("archLabel"))
        self.gridLayout.addWidget(self.archLabel, 0, 6, 1, 2)
        self.archComboBox = QtGui.QComboBox(self.centralwidget)
        self.archComboBox.setObjectName(_fromUtf8("archComboBox"))
        self.gridLayout.addWidget(self.archComboBox, 0, 8, 1, 1)
        self.packageNameLabel = QtGui.QLabel(self.centralwidget)
        self.packageNameLabel.setObjectName(_fromUtf8("packageNameLabel"))
        self.gridLayout.addWidget(self.packageNameLabel, 1, 0, 1, 2)
        self.packageEdit = QtGui.QLineEdit(self.centralwidget)
        self.packageEdit.setObjectName(_fromUtf8("packageEdit"))
        self.gridLayout.addWidget(self.packageEdit, 1, 2, 1, 3)
        self.listDepsButton = QtGui.QPushButton(self.centralwidget)
        self.listDepsButton.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.listDepsButton.setDefault(True)
        self.listDepsButton.setFlat(False)
        self.listDepsButton.setObjectName(_fromUtf8("listDepsButton"))
        self.gridLayout.addWidget(self.listDepsButton, 1, 5, 1, 2)
        self.addListButton = QtGui.QPushButton(self.centralwidget)
        self.addListButton.setFlat(False)
        self.addListButton.setObjectName(_fromUtf8("addListButton"))
        self.gridLayout.addWidget(self.addListButton, 1, 7, 1, 2)
        self.outputFolderLabel = QtGui.QLabel(self.centralwidget)
        self.outputFolderLabel.setObjectName(_fromUtf8("outputFolderLabel"))
        self.gridLayout.addWidget(self.outputFolderLabel, 2, 0, 1, 2)
        self.outputFolderEdit = QtGui.QLineEdit(self.centralwidget)
        self.outputFolderEdit.setObjectName(_fromUtf8("outputFolderEdit"))
        self.gridLayout.addWidget(self.outputFolderEdit, 2, 2, 1, 5)
        self.browseButton = QtGui.QPushButton(self.centralwidget)
        self.browseButton.setFlat(False)
        self.browseButton.setObjectName(_fromUtf8("browseButton"))
        self.gridLayout.addWidget(self.browseButton, 2, 7, 1, 2)
        self.gridLayout_3.addLayout(self.gridLayout, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.useCachecheckBox = QtGui.QCheckBox(self.groupBox)
        self.useCachecheckBox.setObjectName(_fromUtf8("useCachecheckBox"))
        self.verticalLayout.addWidget(self.useCachecheckBox)
        self.downloadDefaultcheckBox = QtGui.QCheckBox(self.groupBox)
        self.downloadDefaultcheckBox.setChecked(True)
        self.downloadDefaultcheckBox.setObjectName(_fromUtf8("downloadDefaultcheckBox"))
        self.verticalLayout.addWidget(self.downloadDefaultcheckBox)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.gridLayout_3.addWidget(self.groupBox, 2, 0, 1, 1)
        self.downloadProgressBar = QtGui.QProgressBar(self.centralwidget)
        self.downloadProgressBar.setProperty("value", 24)
        self.downloadProgressBar.setOrientation(QtCore.Qt.Horizontal)
        self.downloadProgressBar.setObjectName(_fromUtf8("downloadProgressBar"))
        self.gridLayout_3.addWidget(self.downloadProgressBar, 3, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(98, 24, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.downloadButton = QtGui.QPushButton(self.centralwidget)
        self.downloadButton.setEnabled(False)
        self.downloadButton.setFlat(False)
        self.downloadButton.setObjectName(_fromUtf8("downloadButton"))
        self.horizontalLayout.addWidget(self.downloadButton)
        self.downloadSelectedButton = QtGui.QPushButton(self.centralwidget)
        self.downloadSelectedButton.setEnabled(False)
        self.downloadSelectedButton.setFlat(False)
        self.downloadSelectedButton.setObjectName(_fromUtf8("downloadSelectedButton"))
        self.horizontalLayout.addWidget(self.downloadSelectedButton)
        self.clearListButton = QtGui.QPushButton(self.centralwidget)
        self.clearListButton.setEnabled(False)
        self.clearListButton.setCheckable(False)
        self.clearListButton.setDefault(False)
        self.clearListButton.setFlat(False)
        self.clearListButton.setObjectName(_fromUtf8("clearListButton"))
        self.horizontalLayout.addWidget(self.clearListButton)
        self.quitButton = QtGui.QPushButton(self.centralwidget)
        self.quitButton.setFlat(False)
        self.quitButton.setObjectName(_fromUtf8("quitButton"))
        self.horizontalLayout.addWidget(self.quitButton)
        self.gridLayout_3.addLayout(self.horizontalLayout, 4, 0, 1, 1)
        MainDialog.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainDialog)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 548, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuAbout = QtGui.QMenu(self.menubar)
        self.menuAbout.setObjectName(_fromUtf8("menuAbout"))
        self.menuEdit = QtGui.QMenu(self.menubar)
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        MainDialog.setMenuBar(self.menubar)
        self.actionExit = QtGui.QAction(MainDialog)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/exit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon1)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.actionOptions = QtGui.QAction(MainDialog)
        self.actionOptions.setObjectName(_fromUtf8("actionOptions"))
        self.actionAbout_USPC = QtGui.QAction(MainDialog)
        self.actionAbout_USPC.setObjectName(_fromUtf8("actionAbout_USPC"))
        self.actionAbout_Qt = QtGui.QAction(MainDialog)
        self.actionAbout_Qt.setObjectName(_fromUtf8("actionAbout_Qt"))
        self.menuFile.addAction(self.actionExit)
        self.menuAbout.addAction(self.actionAbout_USPC)
        self.menuAbout.addAction(self.actionAbout_Qt)
        self.menuEdit.addAction(self.actionOptions)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuAbout.menuAction())
        self.label.setBuddy(self.distributionComboBox)
        self.ubuntuVersionLabel.setBuddy(self.releaseComboBox)
        self.archLabel.setBuddy(self.releaseComboBox)
        self.packageNameLabel.setBuddy(self.packageEdit)
        self.outputFolderLabel.setBuddy(self.packageEdit)

        self.retranslateUi(MainDialog)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainDialog.close)
        QtCore.QMetaObject.connectSlotsByName(MainDialog)
        MainDialog.setTabOrder(self.distributionComboBox, self.releaseComboBox)
        MainDialog.setTabOrder(self.releaseComboBox, self.archComboBox)
        MainDialog.setTabOrder(self.archComboBox, self.packageEdit)
        MainDialog.setTabOrder(self.packageEdit, self.listDepsButton)
        MainDialog.setTabOrder(self.listDepsButton, self.addListButton)
        MainDialog.setTabOrder(self.addListButton, self.outputFolderEdit)
        MainDialog.setTabOrder(self.outputFolderEdit, self.browseButton)
        MainDialog.setTabOrder(self.browseButton, self.useCachecheckBox)
        MainDialog.setTabOrder(self.useCachecheckBox, self.downloadDefaultcheckBox)
        MainDialog.setTabOrder(self.downloadDefaultcheckBox, self.downloadButton)
        MainDialog.setTabOrder(self.downloadButton, self.downloadSelectedButton)
        MainDialog.setTabOrder(self.downloadSelectedButton, self.clearListButton)
        MainDialog.setTabOrder(self.clearListButton, self.quitButton)
        MainDialog.setTabOrder(self.quitButton, self.filesTreeView)

    def retranslateUi(self, MainDialog):
        MainDialog.setWindowTitle(QtGui.QApplication.translate("MainDialog", "USPC - Ubuntu Simple Package Crawler", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainDialog", "Distribution: ", None, QtGui.QApplication.UnicodeUTF8))
        self.ubuntuVersionLabel.setText(QtGui.QApplication.translate("MainDialog", "Release: ", None, QtGui.QApplication.UnicodeUTF8))
        self.archLabel.setText(QtGui.QApplication.translate("MainDialog", "Target Architecture :", None, QtGui.QApplication.UnicodeUTF8))
        self.packageNameLabel.setText(QtGui.QApplication.translate("MainDialog", "Package Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.listDepsButton.setToolTip(QtGui.QApplication.translate("MainDialog", "List all dependencies of the package", None, QtGui.QApplication.UnicodeUTF8))
        self.listDepsButton.setText(QtGui.QApplication.translate("MainDialog", "&List Dependencies", None, QtGui.QApplication.UnicodeUTF8))
        self.listDepsButton.setShortcut(QtGui.QApplication.translate("MainDialog", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
        self.addListButton.setToolTip(QtGui.QApplication.translate("MainDialog", "Add the package to the download list.", None, QtGui.QApplication.UnicodeUTF8))
        self.addListButton.setText(QtGui.QApplication.translate("MainDialog", "&Add to List", None, QtGui.QApplication.UnicodeUTF8))
        self.addListButton.setShortcut(QtGui.QApplication.translate("MainDialog", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
        self.outputFolderLabel.setText(QtGui.QApplication.translate("MainDialog", "Output Folder: ", None, QtGui.QApplication.UnicodeUTF8))
        self.browseButton.setToolTip(QtGui.QApplication.translate("MainDialog", "Add the package to the download list.", None, QtGui.QApplication.UnicodeUTF8))
        self.browseButton.setText(QtGui.QApplication.translate("MainDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.browseButton.setShortcut(QtGui.QApplication.translate("MainDialog", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MainDialog", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.useCachecheckBox.setToolTip(QtGui.QApplication.translate("MainDialog", "If you mark this option USPC will make a cache containing informations about <br> packages that you alread listed using this software. It will use this cache to don\'t fetch informations about this packages again.", None, QtGui.QApplication.UnicodeUTF8))
        self.useCachecheckBox.setText(QtGui.QApplication.translate("MainDialog", "Use package cache (experimental feature).", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDefaultcheckBox.setToolTip(QtGui.QApplication.translate("MainDialog", "If you mark this option USPC will list packages that are <br /> shipped by default in a Ubuntu desktop distribuition (ubuntu-desktop dependencies).", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDefaultcheckBox.setText(QtGui.QApplication.translate("MainDialog", "List packages that come by default in Ubuntu.", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadButton.setText(QtGui.QApplication.translate("MainDialog", "&Download All", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadButton.setShortcut(QtGui.QApplication.translate("MainDialog", "Alt+A", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadSelectedButton.setText(QtGui.QApplication.translate("MainDialog", "Download &Selected", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadSelectedButton.setShortcut(QtGui.QApplication.translate("MainDialog", "Alt+C", None, QtGui.QApplication.UnicodeUTF8))
        self.clearListButton.setToolTip(QtGui.QApplication.translate("MainDialog", "Remove all packages from the list.", None, QtGui.QApplication.UnicodeUTF8))
        self.clearListButton.setText(QtGui.QApplication.translate("MainDialog", "Clear List", None, QtGui.QApplication.UnicodeUTF8))
        self.quitButton.setText(QtGui.QApplication.translate("MainDialog", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainDialog", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuAbout.setTitle(QtGui.QApplication.translate("MainDialog", "About", None, QtGui.QApplication.UnicodeUTF8))
        self.menuEdit.setTitle(QtGui.QApplication.translate("MainDialog", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("MainDialog", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setIconText(QtGui.QApplication.translate("MainDialog", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setToolTip(QtGui.QApplication.translate("MainDialog", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOptions.setText(QtGui.QApplication.translate("MainDialog", "&Options", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout_USPC.setText(QtGui.QApplication.translate("MainDialog", "About USPC...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout_Qt.setText(QtGui.QApplication.translate("MainDialog", "About Qt...", None, QtGui.QApplication.UnicodeUTF8))

from myqtreewidget import myQTreeWidget
import application_rc
